package com.vcit.system.domain.clazz;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vcit.common.annotation.Excel;
import com.vcit.common.core.domain.BaseEntity;

/**
 * 学生分班对象 t_clazz_student
 * 
 * @author vcit
 */
public class TClazzStudent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long clazzId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String clazzName;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String sno;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 专业ID */
    @Excel(name = "专业ID")
    private Long majorId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    private  Long deptId;

    /** 学生类型 */
    @Excel(name = "学生类型")
    private String studentType;

    /** 学生类型名称 */
    @Excel(name = "学生类型名称")
    private String studentTypeName;

    /** 学生类型（多个用逗号分隔） */
    @Excel(name = "学生类型")
    private String studentTypes;

    /** 学生类型名称（多个用逗号分隔） */
    @Excel(name = "学生类型名称")
    private String studentTypeNames;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /** 招生年份 */
    @Excel(name = "招生年份")
    private String zsYear;

    /** 招生状态（0未分配 1已分配） */
   // @Excel(name = "招生状态", readConverterExp = "0=未分配,1=已分配")
    private String zsStatus;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setClazzId(Long clazzId) {
        this.clazzId = clazzId;
    }

    public Long getClazzId() {
        return clazzId;
    }

    public void setClazzName(String clazzName) {
        this.clazzName = clazzName;
    }

    public String getClazzName() {
        return clazzName;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSno() {
        return sno;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }

    public Long getMajorId() {
        return majorId;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setStudentType(String studentType) {
        this.studentType = studentType;
    }

    public String getStudentType() {
        return studentType;
    }

    public void setStudentTypeName(String studentTypeName) {
        this.studentTypeName = studentTypeName;
    }

    public String getStudentTypeName() {
        return studentTypeName;
    }

    public void setStudentTypes(String studentTypes) {
        this.studentTypes = studentTypes;
    }

    public String getStudentTypes() {
        return studentTypes;
    }

    public void setStudentTypeNames(String studentTypeNames) {
        this.studentTypeNames = studentTypeNames;
    }

    public String getStudentTypeNames() {
        return studentTypeNames;
    }

    public void setZsYear(String zsYear) {
        this.zsYear = zsYear;
    }

    public String getZsYear() {
        return zsYear;
    }

    public void setZsStatus(String zsStatus) {
        this.zsStatus = zsStatus;
    }

    public String getZsStatus() {
        return zsStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clazzId", getClazzId())
            .append("clazzName", getClazzName())
            .append("studentId", getStudentId())
            .append("sno", getSno())
            .append("studentName", getStudentName())
            .append("majorId", getMajorId())
            .append("majorName", getMajorName())
            .append("studentType", getStudentType())
            .append("studentTypeName", getStudentTypeName())
            .append("studentTypes", getStudentTypes())
            .append("studentTypeNames", getStudentTypeNames())
            .append("zsYear", getZsYear())
            .append("zsStatus", getZsStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 